package cn.iocoder.yudao.module.enterprise.controller.admin.account.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

@Schema(description = "管理后台 - 碳排放仿真 Request VO")
@Data
@ToString(callSuper = true)
public class AccountSimulationReqVO {

    @Schema(description = "排放源列表", required = true)
    @NotNull(message = "排放源列表不能为空")
    private List<SourceSimulation> sourceList;

    @Data
    public static class SourceSimulation {

        @Schema(description = "排放源ID", required = true)
        @NotNull(message = "排放源ID不能为空")
        private Long sourceId;

        @Schema(description = "活动数据", required = true)
        @NotNull(message = "活动数据不能为空")
        private Double dataValue;
    }
}

